<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>我的航线</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="EXTENT_PATH/css/style.css"/>
<link rel="stylesheet" type="text/css" href="EXTENT_PATH/css/pulicstyle.css"/>
<script type="text/javascript" src="EXTENT_PATH/js/jquery.js"></script>
<script type="text/javascript" src="EXTENT_PATH/js/jquery.form.js"></script>
</head>

<body>
	<center>
		<div id="wrapper">
			<center>
				<h2>我的航线</h2>
			</center>
			<center>
				<table width="100%" border="0">
					<tr>
						<td><div align="center">出发城市</div>
						</td>
						<td><div align="center">目的城市</div></td>
						<td><div align="center">乘机时间</div>
						</td>
						<td><div align="center">检测价格</div>
						</td>
						<td><div align="center">状态/日志</div>
						</td>
					</tr>

					<c:if test="${!empty list}">
						<c:forEach var="ll" items="${list}">
							<tr>
								<c:if test="${empty list}">
									<center>
										<font size="6"><center>无！</center> </font>
									</center>
								</c:if>
								<td><div align="center">${ll.fromCity}</div>
								</td>
								<td><div align="center">${ll.toCity}</div>
								</td>
								<td><div align="center">
										<fmt:formatDate value="${ll.fDate}" pattern="yyyy-MM-dd" />
										-
										<fmt:formatDate value="${ll.toDate}" pattern="yyyy-MM-dd" />
									</div>
								</td>
								<td><div align="center">${ll.price}</div>
								</td>
								<td><div align="center">已发邮件/日志</div>
								</td>
							</tr>
						</c:forEach>
					</c:if>
				</table>

			</center>
		</div>
	</center>

</body>
</html>
